//
//  Complex.h
//  oc_练习1
//
//  Created by blue on 16/4/13.
//  Copyright (c) 2016年 csx. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Complex : NSObject{
    NSInteger _real;
    NSInteger _imaginary;
}

-(void)setReal:(NSInteger)real;
-(void)setImaginary:(NSInteger)imaginary;

-(id)initWithReal:(NSInteger)real andImaginary:(NSInteger)imaginary;

-(NSInteger)real;
-(NSInteger)imaginary;

-(Complex *)addComplex:(Complex *)c1;
+(void)addAComplex:(Complex *)c1 andBComplex:(Complex *)c2;

-(void)printComplex;

@end
